package com.miracle.system.service;

import com.miracle.system.base.domain.ResultMap;
import com.miracle.system.domain.SysUser;

import java.util.List;

/**
 * 用户 业务层
 *
 * @author miracle
 */
public interface SysUserService
{

    /**
     * 通过用户名查询用户
     *
     * @param userName 用户名
     * @return 用户对象信息
     */
    public SysUser selectUserByUserName(String userName);

    public List<SysUser> selectUserList(SysUser user);

    public SysUser selectUserByUserId(Integer userId);

    public Integer insertUser(SysUser user);

    public Integer updateUser(SysUser user);

    public Integer deleteUserByUserIds(Integer[] userIds);

    public Integer resetPassword(Integer[] userIds);

    public SysUser remoteCheckUser(SysUser user);
}
